export default [
  { name:"主页", path: '/', icon: 'smile', component: './Index' },
  { name:"查看接口", path: '/interface_info/:id', icon: 'smile', component: './InterfaceInfo', hideInMenu: true},
  { name:"登录页", path: '/user', layout: false, routes: [{ path: '/user/login', component: './User/Login' }] },
  { name:"注册页", path: '/user', layout: false, routes: [{ path: '/user/register', component: './User/Register' }] },
  {
    name: '管理页面',
    path: '/admin',
    icon: 'crown',
    access: 'canAdmin',
    routes: [
      { name: '接口管理', icon: 'table', path: '/admin/interface_info', component: './Admin/InterfaceInfo' },
      { name: '接口分析', icon: 'analysis', path: '/admin/interface_analysis', component: './Admin/InterfaceAnalysis' },
    ],
  },
  { path: '*', layout: false, component: './404' },
];
